WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory S

Total Complexity 31
Dependencies 13
Dependents 8
Total lines 277
Lines of code 152
Logical lines of code 75
Comment lines 84
Methods 6
Properties 7

Methods 6

Method Rating Maintainability Complexity Lines of code
from_paypal_response()
A
43 14 51
from_wc_cart()
A
46 7 41
from_wc_order()
S
47 5 39
shipping_needed()
S
67 3 8
__construct()
S
65 1 9
country_without_postal_code()
S
65 1 4